package com.yuexunit.application.action.v1;

import com.yuexunit.application.action.v1.model.UpdateInfo;
import com.yuexunit.application.service.ApplicationService;
import com.yuexunit.inject.ComponentFactory;
import com.yuexunit.inject.annotation.Implements;


/**
 * @author wangjinshui
 */
@Implements(ApplicationActionApi.class)
public class ApplicationActionApiImpl implements ApplicationActionApi {
	private ApplicationService appService = ComponentFactory.loadClass(ApplicationService.class);
	
	@Override
	public UpdateInfo checkForUpdate(String appKey, String appVersion) {
		return appService.checkForUpdate(appKey, appVersion);
	}
}
